//CHECKSTYLE:OFF

package com.ractoc.opengamefinder.api.translators;

/**
 * Class to translate between two beans.
 * @author Mark Schrijver
 * @version 1.0
 */
public final class TranslateChatCreateRoomMessageResultToChatCreateRoomNetworkMessageResult implements com.ractoc.opengamefinder.api.translators.Translator {

    /**
     * Constructor.
     */
    public TranslateChatCreateRoomMessageResultToChatCreateRoomNetworkMessageResult() {
    }

    /**
     * Translation method. Translates com.ractoc.opengamefinder.api.results.ChatCreateRoomMessageResult
     * into com.ractoc.opengamefinder.api.results.network.ChatCreateRoomNetworkMessageResult.
     * @param beanInParam bean to translate.
     * @return translated parameter.
     */
    public Object translate(final Object beanInParam) {
        final com.ractoc.opengamefinder.api.results.ChatCreateRoomMessageResult beanIn =
                (com.ractoc.opengamefinder.api.results.ChatCreateRoomMessageResult) beanInParam;
        final com.ractoc.opengamefinder.api.results.network.ChatCreateRoomNetworkMessageResult beanOut =
                new com.ractoc.opengamefinder.api.results.network.ChatCreateRoomNetworkMessageResult();
        beanOut.setRoomId(beanIn.getRoomId());
        beanOut.setErrorCode(beanIn.getErrorCode());
        return beanOut;
    }

//====Missing in com.ractoc.opengamefinder.api.results.network.ChatCreateRoomNetworkMessageResult
//setDestinationPlugin has no getter in com.ractoc.opengamefinder.api.results.ChatCreateRoomMessageResult
//setOriginPlugin has no getter in com.ractoc.opengamefinder.api.results.ChatCreateRoomMessageResult
//setReliable has no getter in com.ractoc.opengamefinder.api.results.ChatCreateRoomMessageResult
//

//====Missing in com.ractoc.opengamefinder.api.results.ChatCreateRoomMessageResult
//getClass has no setter in com.ractoc.opengamefinder.api.results.network.ChatCreateRoomNetworkMessageResult
//

}
//CHECKSTYLE:ON

